/*
 * FavorableMessageAdapter.java
 * business
 *
 * Created by ChenTao on 2017/1/10.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.adapter;

import android.content.Context;

import com.yidiandao.business.ui.widget.listview.CommonAdapter;
import com.yidiandao.business.ui.widget.listview.DisplayItemManager;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.displaylistitem.NormalFavorableMessageListItem;

/** 促销信息Adapter */
public class FavorableMessageAdapter extends CommonAdapter<DisplayListItem> {

    public FavorableMessageAdapter(Context context) {
        super(context);
    }

    @Override
    protected void registerDisplayListItemMap() {
        DisplayItemManager.register(getAdapterTag(), NormalFavorableMessageListItem.class);
    }

    @Override
    protected String getAdapterTag() {
        return FavorableMessageAdapter.class.getSimpleName();
    }
}
